package com.smartwebx.ha.dal.feature.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

import com.smartwebx.ha.dal.feature.sqlprovider.FeatureAllWaterMapperProvider;
import com.smartwebx.ha.dal.inter.water.IFeatureFlowDao;
import com.smartwebx.ha.dal.inter.water.IFeatureWaterDao;
import com.smartwebx.ha.dal.usebean.FeatureHighLow;
import com.smartwebx.ha.dal.usebean.FeatureWaterPeriod;

/**
 * 特征库 河道
 * @author zhangxi
 *
 */
public interface FeatureRiverMapper extends IFeatureWaterDao, IFeatureFlowDao {

	@SelectProvider(type = FeatureAllWaterMapperProvider.class, method = "getMoreYearStatHighLowFlowSQL")
	public List<FeatureHighLow> getMoreYearStatHighLowFlow(
			@Param("stcd") String stcd);

	@SelectProvider(type = FeatureAllWaterMapperProvider.class, method = "getMoreYearStatHighLowWaterSQL")
	public List<FeatureHighLow> getMoreYearStatHighLowWater(
			@Param("stcd") String stcd);

	@SelectProvider(type = FeatureAllWaterMapperProvider.class, method = "getPeriodAvgContrastWaterSQL")
	public List<FeatureWaterPeriod> getPeriodAvgContrastWater(
			@Param("stcd") String stcd,
			@Param("startMonth") Integer startMonth,
			@Param("endMonth") Integer endMonth,
			@Param("startDay") Integer startDay, @Param("endDay") Integer endDay);
}
